using App_Code.Modules;
using Portal.Core.Helper;
using Module = Portal.Data.Entity.Module;
public partial class Modules_Module_Edit : ModuleModule
{
    protected override string Action
    {
        get { return "edit"; }
    }
    protected override void Delete_Click(object sender, System.EventArgs e)
    {
        base.Delete_Click(sender, e);
        //recache list all module
        CacheHelper.Instance.RemoveByMethod(typeof(Module), "ListAvailable");
    }
    protected override void AfterSave(object obj)
    {
        //recache list all module
        CacheHelper.Instance.RemoveByMethod(typeof(Module), "ListAvailable");
        base.AfterSave(obj);
    }
}